package com.cjl.redis.config;

import org.springframework.boot.autoconfigure.data.redis.RedisProperties;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.time.Duration;

/**
 * @author cjl
 * @version v1.0
 * @description TODO
 * @createTime 2023/2/18 17:53
 */

@Configuration
@ConfigurationProperties(prefix = "spring.redis")
public class RedisConfig {

    private String url;

    private String host;

    private int port;

    private Duration timeout;

}
